package org.java.item.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

/**
 * @author WHQ
 * @version 1.0
 * @date 2022-2-9 0009 下午 2:36
 * 品牌类别实体类
 */
@TableName(value = "shopping_brand")
public class Brand implements Serializable {

    @TableField
    private Long id;//品牌的id
    private String name;//品牌名称
    private String image;//品牌对应的图片
    private String letter;//品牌对应的首字母

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getLetter() {
        return letter;
    }

    public void setLetter(String letter) {
        this.letter = letter;
    }
}
